package com.rd.student.jiaji.class4.suyan.zrrd.day08;

public class InterTest06 {
    public static void main(String[] args) {
        Cat c=new Cat();
        c.eat();
        c.sleep();
        System.out.println(c.getAge());
        System.out.println(c.getNmae("java"));
        c.fly();//调用重写后的方法
        Animal01.run();//调用接口
        c.run();//继承

    }
}
